﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Netfraction.ShareManager
{
    public class VFSDirectoryNode : VFSNode
    {
        private List<VFSDirectoryNode> mSubdirectories;
        private List<VFSFileNode> mFiles;
        private string mRealName;

        public VFSDirectoryNode(VFSNode parent, string name, string realName, DateTime lastWriteTime) : base(parent, name, lastWriteTime)
        {
            mSubdirectories = new List<VFSDirectoryNode>();
            mFiles = new List<VFSFileNode>();
            mRealName = realName;
        }

        public List<VFSDirectoryNode> Subdirectories
        {
            get { return mSubdirectories; }
            set { mSubdirectories = value; }
        }

        public List<VFSFileNode> Files
        {
            get { return mFiles; }
            set { mFiles = value; }
        }

        public string RealName
        {
            get { return mRealName; }
            set { mRealName = value; }
        }
    }
}
